uint8[] data
bool state